﻿@model IEnumerable<WebDKMH.Models.thoigiandk>
@{
    ViewBag.Title = "xemthoigian";
    Layout = "~/Views/Shared/admin.cshtml";
}

@*<div class="Content-midle-Top-Ten"><h4> ► xem thoi gian</h4></div>*@
<div class="Main-Content-1">
    <div class="Main-Content-1-Tieude">
        <img src="~/Images/icon_dangky.png" />
        <ul>
            <li>
                <h2>SỬA THỜI GIAN</h2>
            </li>
        </ul>
    </div>
    <div class="Main-Content-1-Noidung">
        <p></p>
        <table border="1" cellspacing="0" style="border: 1px groove #0976f5; width: 750px; margin: auto; ">
            <tr style=" color: #ffffff; background: #4395f5;">
                <th style="width:53px;">STT </th>
                <th style="width:150px;">Tên Khoa</th>
                <th style="width:150px">Từ Ngày</th>
                <th style="width:150px">Đến Ngày</th>
                <th style="width:73px">Sửa</th>
                <th style="width:73px">Xóa</th>
            </tr>
            @{int k = 0;}
            @foreach (var tg in Model)
            {
                k = k + 1;
                <tr style="color: #0c1574; border-collapse: collapse; ">

                    <td style="padding-left:25px">@k</td>
                    <td style="padding-left:5px">@tg.makhoa</td>
                    <td style="padding-left:15px">@tg.ngaybatdau </td>
                    <td style="padding-left:15px">@tg.ngayketthuc </td>
                    <td style="text-decoration: underline; padding-left: 23px;"><a name="sua" href=@Url.Action("thoigian","admin", new {type = "edit",id1 =tg.id})>Sửa</a> </td>
                    <td style="padding-left: 23px; text-decoration: underline;"><a href=@Url.Action("xoathoigian", "admin", new { id1=tg.id})>Xóa</a></td>


                </tr>
            }
        </table>
        <a href=@Url.Action("thoigian", "admin", new { type="add",id1=0})> <input style=" width: 120px; height: 30px; float: left;margin-left :330px;   margin-top: 20px;" type="submit" value="Thêm Thời Gian" /></a>
        @*<input style=" width: 80px; height: 30px; float: right; margin-right:200px;   margin-top: 20px;" id="Xuat" type="reset" value="Xuất Flie" />*@
    </div>
</div>
